package cn.xny.org.service;

import cn.xny.org.domain.Shop;
import cn.xny.basic.service.BaseService;
import cn.xny.org.domain.ShopAuditLog;
import cn.xny.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2023-02-04
 */
public interface ShopService extends BaseService<Shop> {
    //校验店铺入驻信息
    void settlement(Shop shop);
    //审核通过
    void auditPass(ShopAuditLog log) throws MessagingException;
    //审核失败
    void auditReject(ShopAuditLog log) throws MessagingException;
    //激活
    void auditActive(Long shopId);



    List<ShopDto> getCountByState();
}
